home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / Mesa-2.2 / README.BEOS < prev    next >
Encoding:
Text File  |  1997-02-03  |  3.0 KB  |  112 lines

  1. ========================================================
  2. MESA 2.1 BEOS PORT RELEASE 1
  3. ========================================================
  4.  
  5. BeOS notes
  6. --------------------------------------------------------
  7.  
  8.     The BeOS driver is implemented through Mesa's 
  9.     Off-Screen rendering interface. This is the best way
  10.     to integrate it into the C++ framework of the BeOS.
  11.     Unlike on other system there is only one library. 
  12.     The BeOS didn't like the split into four different 
  13.     shared libraries... The TK and AUX is partially 
  14.     supported but still unstable although most sources
  15.     in demos/ in samples/ should work nice.
  16.     
  17.  
  18. Installing the library
  19. --------------------------------------------------------
  20.  
  21.     Copy the library from Mesa2.1/lib/ into your
  22.     /boot/system/lib/ directory. The supplied demos
  23.     should now work. You perhaps also need a 'setfile'
  24.     on it.
  25.  
  26.  
  27. Rebuilding the library
  28. --------------------------------------------------------
  29.  
  30.     Type 'make beos' in the Mesa2.1/ directory to 
  31.     compile the library and the demos. You will naturally 
  32.     need the unlimited linker.
  33.  
  34. BeOS demos
  35. --------------------------------------------------------
  36.  
  37.     I have converted some of the supplied demo into
  38.     BeOS specific code to show how to integrate
  39.     Mesa into your own projects. Look in the BeOS/
  40.     directory to test them.
  41.     For animation demos try the 'wave' and the 'logo'
  42.     demo:
  43.  
  44.     wave demo keys:
  45.  
  46.     c        Toggle contouring mode.
  47.     s        Toggle flat/smooth shade mode.
  48.     l        Toggle lighting mode.
  49.     d        Toggle depth checking mode.
  50.     a        Toggle spin mode.
  51.     
  52.     logo demo keys:
  53.     
  54.     LEFT    Rotate.
  55.     RIGHT    Rotate
  56.     UP        Move clipping plane.
  57.     DOWN    Move clipping plane.
  58.     Z    Translate.
  59.     z    Translate.
  60.     1    Use GL_POINT polygon mode.
  61.     2    Use GL_LINE polygon mode.
  62.     3    Use GL_FILL polygon mode.
  63.     p    Toggle polygon fill modes.
  64.     4    Use GL_NICEST for GL_POLYGON_SMOOTH_HINT.
  65.     5    Use anti-aliased polygon mode.
  66.     6    Use aliased polygon mode.
  67.     8    Toggle dither mode.
  68.     9    Toggle stipple polygon mode.
  69.     0    Toggle flat/smooth shading mode.
  70.     q    Disable cull mode.
  71.     w    Use front face cull mode.
  72.     e    Use back face cull mode.
  73.     r    Use clockwise front face mode.
  74.     t     Use counter-clockwise front face mode.
  75.     y    Use MSB first stipple pattern.
  76.     u    Use LSB first stipple pattern.
  77.     a    Use brick texture map.
  78.     s    Use checker texture map.
  79.     d    Disable texture map.
  80.     f    Use decal texture environment mode.
  81.     g    Use modulate texture environment mode.
  82.  
  83.  
  84.     
  85. How to compile the other demos in samples/ and demos/
  86. --------------------------------------------------------
  87.  
  88.     Just type 
  89.         
  90.         'mwcc demo.c -I../include ../lib/libMesaGL.so'
  91.  
  92.     or something similar. I especially like the
  93.     isosurf.c in demos/ ...
  94.     
  95.  
  96. ToDo
  97. --------------------------------------------------------
  98.  
  99.     - implementing a BeOS context.
  100.     - Better support of the TK and AUX package.
  101.     - Speedups
  102.     - split into four shared libraries.
  103.     - bugfixes
  104.  
  105.  
  106. Author
  107. --------------------------------------------------------
  108.  
  109.     Send bugreports, comments and other stuff to:
  110.     
  111.     Tinic Uro <5uro@informatik.uni-hamburg.de>
  112.